<template>
	<view>
		<Dworker :DworkerId="DworkerId"></Dworker>
	</view>
</template>

<script>
import Dquestion from "../../Components/questionDeails/Deails.vue"
import {getrepairsData} from "../../apis/index.js"
	export default {
		components:{
			Dquestion
		},
		data() {
			return {
				DworkerId:null
			}
		},
		// created() {
		// 	this.getrepairs()
		// },
		methods: {
			// async getrepairs(){
			// 	let res = await getrepairsData({id : this.DworkerId})
			// 	console.log("获取单条报修详情",res);
			// }
		},
		onLoad(data) {
			console.log(data.id);
			this.DworkerId=data.id
		}
	}
</script>

<style>

</style>